.head {
	box-sizing: border-box;
	padding: 15px 20px;
	width: 100%;
	height: 290px;
	background-image: linear-gradient(
		to right top,
		#2828ff,
		#007eff,
		#00b1ff,
		#00dbff,
		#00ffff
	);
	color: #fff;

	// 返回键
	.icon-fanhui {
		font-size: 20px;
	}

	// 标题和头像
	.titlebox {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;

		p {
			font-size: 20px;
			font-weight: bold;
		}

		img {
			width: 60px;
			height: 60px;
			border-radius: 50%;
		}
	}

	// 运动数据
	.databox {
		margin-top: 15px;
		display: flex;
		justify-content: space-between;
		width: 100%;

		.sports {
			padding-left: 10px;
			width: 1px;
			flex-grow: 1;

			p:last-child {
				margin-top: 20px;
				text-indent: 1em;
			}
			#data1 {
				font-size: 30px;
			}
		}

		.conusume {
			padding-left: 10px;
			width: 1px;
			flex-grow: 1;
			border-left: 2px dashed #fff;
			p:last-child {
				margin-top: 20px;
				text-indent: 1em;
			}
			#data2 {
				font-size: 30px;
			}
		}
	}

	// 各项消耗
	.data2box {
		margin-top: 40px;
		display: flex;
		justify-content: space-between;
		width: 100%;
		li {
			text-align: center;
			p {
				font-size: 14px;
				font-weight: bold;
			}
		}
	}
}

.main {
	box-sizing: border-box;
	padding: 0 20px;
	width: 100%;
	.png {
		margin: 20px 0;
		width: 100%;
		height: 250px;
		border: 1px solid #000;
		border-radius: 15px;
		box-shadow: 5px 5px 10px #666;
	}
}
